import request from '../utils/request';

//登录
export const login = (params) => request.post('/api/login',params);

//注册
export const registry = (params) => request.post('/api/registry',params);

//获取侧边菜单
export const getResource = () => request.get('/api/resource');